--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,7 @@
 include $(top_srcdir)/build/Makefile.am.lm
 
-SUBDIRS = loudmouth docs examples $(TEST_DIRS)
-DIST_SUBDIRS = loudmouth docs examples tests
+SUBDIRS = loudmouth
+DIST_SUBDIRS = loudmouth
 
 ACLOCAL_AMFLAGS = -I m4
 
--- a/configure.ac
+++ b/configure.ac
@@ -320,12 +320,7 @@ AC_SUBST(LOUDMOUTH_LIBS)
 
 AC_OUTPUT([
 Makefile
-docs/Makefile
-docs/reference/Makefile
 loudmouth/Makefile
-examples/Makefile
-tests/Makefile
-tests/parser-tests/Makefile
 loudmouth-1.0.pc])
 
 dnl ==========================================================================
